The hand was played fine up to the river where folding is likely best. However, if villain is too loose and aggressive, then getting more money in earlier in the hand seems best.
If villain is to loose/aggressive - then get more aggressive on flop and turn. He is likely to stack off lighter.